package com.cc.service.impl;


import com.cc.entity.Produce;
import com.cc.mapper.ProduceMapper;
import com.cc.service.ProduceService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class ProduceServiceImpl implements ProduceService {
    @Resource
    private ProduceMapper produceMapper;
    @Override
    public Produce selectProduce(Integer productId) {
        return produceMapper.selectProduce(productId);
    }
}
